An error has just occurred in <%= @notice.environment_name %>: <%= raw(@notice.message) %>

This error has occurred <%= pluralize @notice.problem.notices_count, 'time' %>. You should really look into it here:

  <%= app_problem_url(@app, @notice.problem) %>


ERROR MESSAGE:

<%= raw(@notice.message) %>


WHERE:

<%= @notice.where %>

<% @notice.backtrace.lines.each do |line| %>
  <% next unless line.in_app? %>
  <%= line %>
<% end %>

<%- if @notice.app_version.present? %>
APP VERSION:

<%= @notice.app_version %>
<%- end %>

<%- if @notice.server_environment.present? && @notice.server_environment["hostname"].present? %>
APP SERVER:

<%= @notice.server_environment["hostname"] %>
<%- end %>

URL:

<%= @notice.request["url"] %>


BROWSER:

<%= @notice.user_agent_string %>


<%- if @notice.user_attributes.present? %>
USER:

<%- @notice.user_attributes.each do |key, value| %>
<%= key.to_s.titleize %>: <%= value.to_s %>
<%- end %>

<%- end %>

BACKTRACE:

<% @notice.backtrace.lines.each do |line| %>
  <%= line %>
<% end %>
